/*function addForm1() {
	var team = document.getElementById("addinfo");
	var newInput = document.createElement("input");
	newInput.type = "text";
	newInput.name = "t1";
	var newline = document.createElement("br");
	team.appendChild(newInput);
	team.appendChild(newline);
}*/

function addForm1(){
	var team = document.getElementById("addinfo");
	
	//账号
	var newdiv = document.createElement("div");
	newdiv.class = "form-group";
	var newlabel = document.createElement("label");
	newlabel.class = "control-label";
	newlabel.innerHTML = "user:&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp";
	var newInput = document.createElement("input");
	newInput.type = "text";
	newInput.class = "form-control";
	newInput.placeholder = "账号";
	
	//密码
	var newdiv2 = document.createElement("div");
	newdiv2.class = "form-group";
	var newlabel2 = document.createElement("label");
	newlabel2.class = "control-label";
	newlabel2.innerHTML = "passwd:&nbsp";
	var newInput2 = document.createElement("input");
	newInput2.type = "text";
	newInput2.class = "form-control";
	newInput2.placeholder = "密码";
	
	//提交按钮
	
	
	team.appendChild(newdiv);
	team.appendChild(newlabel);
	team.appendChild(newInput);
	team.appendChild(newdiv2);
	team.appendChild(newlabel2);
	team.appendChild(newInput2);
}
